package com.example.dao;

import com.example.po.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface StudentDao {
    public List<Student> findStudents(Student student);
    public int findStudentsCount(Student student);
    public int updateStudent(Student student);
    public int addStudent(Student student);
    public Student selectid(Student student);
    public int deleteStudent(int id);
    public List<Student> searchStudent();
}
